Added pause and back buttons