Added Portuguese translation (Thanks to Marco A.G.Pinto)
Fixed keyerror on user setting page

Fix #891
Cleaned up utils