Made mousetest_mobile setInterval on connect

Also stops sending data after disconnect

Signed-off-by: Norman Cao <maplenormandy@gmail.com>