Loading new state doesn't refresh every time