Bugfixes in search plugin

Now, the buttons should work correctly.

TODO : Some design bugs left