Removed the on click methods from layout file