new function: cancel card application