Fixed #203: Cancel changes after pressing back-button