When a folder is unsubscribed, immediately remove any subscribe or refresh alerts associated with it from the start page.
When retrieving a list of job states, if an HTTP 404 is returned, the array of job states is cleared.

If the server returns a 404 this means there are no job states; so the client must clear any job states it had in the array (stored in the root scope), which have already been removed from the db.