         NSNotificationCenter.defaultCenter().addObserver(self, selector: #selector(MMSwiftTabBarController.updateNotificationSentLabel), name:"NotificationIdentifier", object: nil)
         
         NSNotificationCenter.defaultCenter().postNotificationName("NotificationIdentifier", object: nil)
-        
+
         if(weekNumberTab == totalSchedule.count )
         {
             leftWeekArrow.hidden = true
         }
         else if(weekNumberTab == 1)
         {
-           rightWeekArrow.hidden = true
-        }
+            rightWeekArrow.hidden = true
+        }
+
         self.searchField.delegate = self;
-          self.tabBarButtons.last?.imageView?.frame.size.height = self.tabBarView.frame.height / 2
+        self.tabBarButtons.last?.imageView?.frame.size.height = self.tabBarView.frame.height / 2
         self.searchField.autocorrectionType = .No
         self.searchField.autocompleteType = .Sentence
         let jsonstring = defaults.valueForKey("jsonData") as? String ?? String()

        }
        if(segue.identifier! == "voidLessons" )
        {
            
            for btn in tabBarButtons {
                btn.backgroundColor = GlobalColors.lightBlueColor
            }

                }
                segueSide = -1
                (weekNumberTab!) -= 1
                arrowPing(leftWeekArrow)
                self.updateScheduleProperties(selectedDay)
                weekLabel.text = "Неделя " + String(weekNumber) + ", \(day.date!)"
                if(self.day.lessons?.count != 0){
