add setting and mainbar in index.html