Answer
I say, and with God's success: Staying away from sins is one of the reasons for the acceptance of supplication. We must take the means by persistently supplicating, increasing good deeds, and avoiding sins as much as possible. And God knows best.