Fixed pause bug due to my previous commit
Made resume button work