Fix danger button color when visited
Refactor routes