App now generates the pegboards on demand.
Fixed null pointer exception that prevented to generate another pattern.