moved the settings form to .admin.inc file and used l() function instead of creating link markup manually.