Save state of UI, backend service