iOS7 generic object state restoration

Attempted, still not working properly