Changed main checkbox next state behaviour