Representative Task Self-selection for Flexible Clustered Lifelong Learning