         }
         
         if(!self.defaultTitle.isEqualToString("")) {
-            self.setTitle(self.defaultTitle, forState: UIControlState.Normal)
+            self.titleLabel.text = self.defaultTitle
         }
         
         self.activityViewArray.removeAllObjects();
         self.userInteractionEnabled = true;
     }
     
-    func degreesToRadians(degrees: CGFloat) -> CGFloat {
+    func setTitle(title: NSString) {
+        titleLabel.text = title
+    }
+    
+    private func degreesToRadians(degrees: CGFloat) -> CGFloat {
         
         let result = ((degrees) / 180.0 * CGFloat(M_PI))
         return result

import UIKit
import QuartzCore

class HGWActivityButton: UIButton {
    
    var activityViewArray = NSMutableArray(capacity: 0)
    var rotatorColor = UIColor.darkGrayColor()
    var rotatorSize: CGFloat = 8.0
    var rotatorSpeed: CGFloat = 10.0

            self.defaultTitle = self.titleLabel.text;
        }
        self.activityTitle = self.activityTitle.isEqualToString("") ? self.defaultTitle : self.activityTitle
        self.titleLabel.text = self.activityTitle
    }
    
    func stopActivity() {
