something wrong with activity in the AddPeriodDialog