Change layout and function of button in list