Abbas Di Palma, Shaykh Abbas Di Palma holds a BA and an MA degree in Islamic Studies, and certifications from the Language Institute of Damascus University. He has also studied traditional Islamic sciences in... Answered 1 year ago

as salam alaikum

since you were doing a good deed with good intention, you didn't do anything wrong, let alone not being Muslim or having left Islam. 

A believer should be aware that Shaytan is always ready to whisper to him and one way to fight him is to ignore bad thoughts and multiply good actions.

With prayers for your success.