old_contents: import time
  import Edison.i2c as I2C
  import Edison.gpio as GPIO
  import Edison.spi as SPI
  import ads1015
  import sharp2y0a21
  import screen
  import ILI9341 as TFT
  import watchout_screen
  import proximity_warning
  import twitter_screen
  import tag_screen
  import gplus_screen
  import time
  
  class pycon():
  
      def __init__(self):
          self.init_display()
          self.init_screens()
          detect = GPIO.gpio(14, GPIO.IN)
          while 1:
              #self.screens[self.current_screen].update()
              self.disp.display(self.screens[self.current_screen].img)
              screen_start = time.time()
              while (time.time()-screen_start) < self.screens[self.current_screen].focus_time:
                  if self.screens[self.current_screen].update():
                      self.disp.display(self.screens[self.current_screen].img)
                  time.sleep(0.100)
                  if detect.input() == 1 and (time.time()-self.watchout.last_update) > 60*1:
                      self.current_screen = 3
              self.current_screen = (self.current_screen + 1) % (len(self.screens)-1) #To remove watchout screen
  
      def init_display(self):
          dc = GPIO.gpio(4, GPIO.OUT)
          rst = GPIO.gpio(13, GPIO.OUT)
          self.disp = TFT.ILI9341(dc, rst=rst, spi=SPI.spi(5, 0, speed=5000000))
          self.disp.begin()
  
      def init_screens(self):
          self.tag = tag_screen.tag_screen()
          self.watchout = watchout_screen.watchout_screen()
          self.twitter = twitter_screen.twitter_screen()
          self.gplus = gplus_screen.gplus_screen()
          self.screens = [self.tag, self.twitter, self.gplus, self.watchout]
          self.current_screen = 2
  
  if __name__ == "__main__":
      main = pycon()
  
new_contents: import time
  import Edison.i2c as I2C
  import Edison.gpio as GPIO
  import Edison.spi as SPI
  import ads1015
  import sharp2y0a21
  import screen
  import ILI9341 as TFT
  import watchout_screen
  import proximity_warning
  import twitter_screen
  import tag_screen
  import gplus_screen
  import time
  
  class pycon():
  
      def __init__(self):
          self.init_display()
          self.init_screens()
          detect = GPIO.gpio(14, GPIO.IN)
          while 1:
              #self.screens[self.current_screen].update()
              self.disp.display(self.screens[self.current_screen].img)
              screen_start = time.time()
              while (time.time()-screen_start) < self.screens[self.current_screen].focus_time:
                  if self.screens[self.current_screen].update():
                      self.disp.display(self.screens[self.current_screen].img)
                  time.sleep(0.100)
                  if detect.input() == 1 and (time.time()-self.watchout.last_update) > 60*5:
                      self.current_screen = 3
              self.current_screen = (self.current_screen + 1) % (len(self.screens)-1) #To remove watchout screen
  
      def init_display(self):
          dc = GPIO.gpio(4, GPIO.OUT)
          rst = GPIO.gpio(13, GPIO.OUT)
          self.disp = TFT.ILI9341(dc, rst=rst, spi=SPI.spi(5, 0, speed=5000000))
          self.disp.begin()
  
      def init_screens(self):
          self.tag = tag_screen.tag_screen()
          self.watchout = watchout_screen.watchout_screen()
          self.twitter = twitter_screen.twitter_screen()
          self.gplus = gplus_screen.gplus_screen()
          self.screens = [self.tag, self.twitter, self.gplus, self.watchout]
          self.current_screen = 0
  
  if __name__ == "__main__":
      main = pycon()
  
subject: Change the startup screen to the Tag screen and change the wait time for the watchout screen to 5min