resets selection after pressing save