General framework for app with icon and action bar