The residents of a picturesque Scottish town have been trying to save their only pub.