Changed submit to save for buttons in variables