Refactoring of the synchronization portlet for optimizations and simplifications