Refactor Button tab Component.