Fix settings and ui activation