Finish of Button type and implementation of mouse listener