Changed button view when table is not collapsed