Update lang.py

Application instance was cached, but never removed (caused conflict, when multiple applications are being run by single main.py file)