Initial button functionality