     func clean()
     {
         innerFillColor = UIColor.black
+        fillColor = UIColor.genericDark
         timer?.invalidate()
     }
 }

    private weak var timer:Timer?
    private var endAngle:CGFloat
    private var innerFillColor:UIColor
    private let fillColor:UIColor
    private let strokeColor:UIColor
    private let kRadius:CGFloat = 32
    private let kStartAngle:CGFloat = 0.0001
    private let kEndAngle:CGFloat = 6.28319
    private let kBorderWidth:CGFloat = 16
    private let kLineWidth:CGFloat = 12
    private let kTimerInterval:TimeInterval = 0.1
    private let kMaxPictures:Int = 200
    
    init(controller:CHome)
    {
        innerFillColor = UIColor.black
        fillColor = UIColor.black
        strokeColor = UIColor.genericLight
        endAngle = kEndAngle
        
        super.init(frame:CGRect.zero)
        clipsToBounds = true

        }
        else
        {
            fillColor = UIColor.black
            innerFillColor = UIColor.genericDark
            var percent:CGFloat = CGFloat(countPics) / CGFloat(kMaxPictures)
            
            if percent <= 0
            {
                fillColor = UIColor.genericDark
                innerFillColor = UIColor.black
                percent = kStartAngle
            }
