Add button logic in manual page