Changes from comments

Removed event listeners after unstuck is called. Changed it so that the
options are re-rendered on add, remove, reset and sort. This meant that
I had to add in extra lines to manage the event listeners to ensure that
we don't create a huge number of events.