Threading in the app is now working