Bail refused for man on attempted murder charge