Added result activity, layout and logic