Done

Button will visible on Attendance Type Changed
if Attendance Type = First Period then Visible = off
other wise Visible = on

And Copy data of First Period to another period and Save it.