Added basic button naming functionality.