switch start button and end button