Added previous state of application