Refactoring for 1st GUI program and added the 2nd one.