Finish button error fix

if statement fixing the not in transaction state error when other fields have been left blank