added int-based IDs for each period; moved period labels to strings.xml; #23