Switch view to use setElement
Fixes to API Token request