add schedule delete, dialog confirmation and fix credit use