change button save for different actions