Fixing retain cycle

UIAlertController *controller used inside another block and this is create retain cycle. We should mark it as __block (or __weak in ARC) to exclude this retain cycle.