adding changeIcon method, icon removed to resource,
adding icon to resources