Added thread lock in enabling/disabling wiimote callback