Final Touchscreen code