Change detail icon on privilege based on selected record