Added the three button functionality
Added the three button functionality and each button does something different