Protect changes if there is no selection