fixing bug with click on check/cross not sticking