I tried your app, and it worked nearly flawless, but, by design, your app is a service. it should be able to run while it is not active on the screen.
Android kills (may kill) apps not visible on the screen, so you have to install a notification-icon by setForeground()
at the moment you don't do this, so synergy works on my cell for some minutes, but eventually it is always killed and then suddenly stops.
https://sites.google.com/site/androidhowto/how-to-1/services-and-setforeground
http://developer.android.com/reference/android/app/Service.html
greetings, and keep up the good work!
mo
+1