NEC I got it working but when I had screen lock activated after doing a successful nohup command then after detaching the phone I initially got the mouse toggled with Quick dial but then when I closed phone and lock screen was activated then I could no longer get the mouse toggle through Quick dial.
However disabling my screenlock solved the problem and the Quick dial mouse toggle kept working reliably even after both disconnecting the phone from the PC and closing the phone. (Note:as has been pointed by [Login to see the link] at the end [Login to see the link] using the power button to toggle the mouse is problematic)