add handling of apps status