[BUG] Correct issue on SQL Library 

- Correct css
- Correct js
- Change popup to popin.

Fix #191