disable/enable options on certain changes