Fixed a bug on the project dropdown  when in the magic area

- Replaced the dropdown with a dropdown plugin
- Added unit tests to test the dropdown plugin