Added screen grab button and grabbing fronend logic