fix onDestroy() problem (Android), fix device-dependent virtual key problem (Android), add func to end the task if back-key double tapped (Android)