Added layer name generation

Updated sample too to add UIButton in examples
Exactly. Didn't see that. I think I've duplicated the file by error. Do you me to update my PR ?