Hi Yavuz,
the things about your comment that this seems to be happening on certain projects: the key commands is a Logic application preference, not a Logic song specific one. So, whatever is causing the issue, it's unlikely being caused by the key command preference file.
What happened when you did what I suggested, to the songs that seemed to be messed up?