1. Added expanded view restoration.