Set expanded in callback.