PatronTab: Most functionality done needs to be Reviewd

Missing search
Bug with view button
Some bug in the code that breaking the functionality