Switch between reset and save buttons by just changing the id and text