City firm gets $50K from Buffalo nonprofit