added button functionality for many screens