Linking animal personality and habitat restoration for a keystone species