added prepend when switch is toggled and the checkoff is now working