Updated notification logic to handle a contact status of 'phone' the same way as 'sms.'
Updated code to handle rubocop issues.