It sounds to me that they're trying to work around their own beliefs which is just weird to say the least.
I'm not a muslim and don't consider gambling a sin but I believe that you shouldn't knowingly commit the same sin every day even if you pray right after commiting that sin.