fixed GUI bug

peformSegue was being called from background thread