Separated startListening/stopListening to specific methods accordingly.
Changed dummyCallback to use the separated methods; fixed a bug that the remote functionality doesn't get recovered after plugging the device out and in.