Android Security option when the application is added in background or the application was terminated.