enable/disable buttons according to selection