added functionality to btnCreateCard