Removed static buttons and added dynamically generated buttons.