Moved getting profile to a thread to not hold up the UI