Salaam aleikum.
If someone does simultaneously (or at the same time) a good and a bad deed.
Example: One individual simultaneously listens to quran, makes dhikr, la ilaha ilallah, Astagfirullah, Alhamdulilah and at the same time watches BBC NEWS where women don't cover properly according to Islamic rules.
My question is: Will both the good and bad deed be written simultaneously or he has zero good deed because one of the conditions for the acceptance of a good deed is that you must not be sinning at the moment that you are doing the good deed?