Passing variable back onDone