Used delegation for button press