         closeButton.addTarget(self, action: Selector("cancel"), forControlEvents: UIControlEvents.TouchUpInside)
         
         contentView.addSubview(closeButton)
+        
+        self.statusMotion() //Added to check motion status on load
     }
     
     public convenience init() {

        }
    }
    
    static let allValues = [Contacts, LocationAlways, LocationInUse, Notifications, Microphone, Camera, Photos, Reminders, Events, Bluetooth]
    
}


        case .Photos: return "Photos"
        case .Reminders: return "Reminders"
        case .Bluetooth: return "Bluetooth"
        case .Motion: return "Motion"
        }
    }
    
