Fix showing the remaing credit in user preferences