Move to ARC

Fixes crash with calling released delegate.