clean "app-list" and "app" page code