added avatar selecting and saving