Finished implementing PushStateCommand