initial implementation of application state to show  background activities