Taking out old iPhone code for buttons