Removed adminmode/scanmode. Useless. Should be replaced by something like a view for saving and handling receipts?