Push current state after hash change

Referenced to issue #256