Reset the view_state if user deletes selected application