Check if app is specified before removing