Fix the terminal window not closing after quit/exit.

Change the way we launch APK Manager to ensure that the spawned terminal window will close properly after quitting.