When an app is said to be in active state?