Niyyat (Intention) should always be the pleasure of Allah Ta’ala. Due to some incorrect intentions, we involve ourselves in minor Shirk. As far as possible we should do our optional Ibaadat out of the eyes of people. Nobody besides the Ambiyaa are safe from the plot of Shaytaan. Firstly, Shaytaan attacks our Aqeeda. Secondly, he attacks our intentions for which we carry out good deeds. Thirdly, he makes us leave out the good deed because there is shirk and riyaa in it. Therefore we should continue with the good action, keep making dua and keep renewing our intention.