Prevent app close if is a system app