public void RemoveLastStep() { StateJson = Journey.GetLastState(); Journey.RemoveLastStep(); JourneyJson = JsonConvert.SerializeObject(Journey); State = JsonConvert.DeserializeObject <Dictionary <string, string> >(StateJson); }