refactory MainActivity and SiderbarAdapter