Layed out canvas buttons and applied functions to them