Cosmetic changes to colours
Added guard on back key
Added debounce timer
Changed trace to show intermediate results
Simplified printer updates using runOnUIThread instead of handler
Minor cosmetic changes