add reload flag to distinguish the startup or taking photos