Added submit btn for last step
renamed settings to opt
structured next and prev btn options to be easily configurable
Removed extra var declarations

- Also fixed a bug due to a typo which caused the prev btn to show up even
  on the first step.