fixed login cancel button and textplugin preference initialization