Hiding unneeded buttons