Fix syntax error in flashlight app