Updated buttons

buttons work correctly now.