Rational Habit Modification: the Role of Credit