save button active tab