Added Functionality to Buttons (Somewhat)