last scan date now saved and displayed. scan button now works