Can't disable pattern screen lock
I just had that same issue today. 

Go to Settings, and make sure you've removed Foxfi as an administrator. Go to Trusted credentials &gt; User &gt; and remove Foxfi. Then go back into Settings &gt; Security &gt; and Clear credentials. It'll let you change the lock code then! :)