modify saving button status