The rapper uses an app, Sobertool, which tracks how much money he would have spent on drink and drugs