Settings navigation - fixed onHashChange handler to correctly work after .setUrlHash()