Updated / refactored processing logic in accessibility service to be a bit cleaner and more straight forward order wise