Implement GUI for learn operation.