Fixed wrong redirect after login
Work on Duration editor
Work on maintaining the state of the duration editor
Update quantity based on frequency and duration