Add button and the event function outputPosToPlistFile to this class.