Refactored sampleButtonPressed method in BirthdayVC to adhere to DRY