buttons not hidden for activity