added submit buttons for order and scan, fixed scan view option values