Refactoring: Added function updateLayout to FilterToolBar