Make this also work if the app is not running