Scan Backbutton refactored