fix time display
fix switch bug for ios