Getting back on track after the unexpected happens: decision making in predictable and unpredictable environments