Clean code that allows you to click to choose avatar location