stubbed out button functions and added greying out functionality based on PDF being null or not