finish phoengap