can associate a view with a button