dissonance

(n) lack of agreement; inconsistency between the beliefs one holds or between one's actions and one's beliefs   
Immediately after shoplifting, Winona felts some internal dissonance and considered returning the purse.