Removed unused code

Old button code that is not used now.