Track the application status and disable buttons in consequence

Work in progress.
This is missing a ``css``prefix