Fix refresh issue at MainActivity for data and theme switch