Refactored switches-system, replaced them through enum for better code
readability and since more then two switches would have been a mess.
Also added "Submit a new link" button.