Properly made the buttons work.