Optimize(dropdownToggle): Cleanup code and increase legibility