brown discharge. CD2 of AF

Mia
So yesterday I started my period..red. Today Is brown..I still have 2 days of period according to this app. First I wa suppose to have it 31 or 1st..instead it came 2nd. 
Anyone ever have this happened to them?