Removing setPersistant as it causes undesired behavior.