changed CreateResourceActivity