add setting page
fix crash in no network