Update app.py

changes in switch features