Every time you delete a module you need to manually go into each app role and wait to the deleted role to be updated. This is an annoying and time consuming tasks for an app with a lot of roles and should be done automatically by right clicking on one of the error messages.