Updating dots and background colours on a background thread.