Attempting to change type of button