shorty_tracking: Fix automatic deactivation of app if the main app is deactivated.