adding title and modifying buttons