OK I thought that there could be activity which may not want to implement NotificationInterface but user still would like to see a dialog. I will not delete this line then.