Removing unused buttons