Obama: unrest helped refocus US attention on inequality